package com.kongge.viewdisplayframeworklib.event.param;

public interface ClassType {

	// ~常量区块
	// ========================================================
	
	// ---------------------组件类型定义----------------------------------
	public static final int TYPE_COMPONENT                        = 0;
	/** 标签组件 */
	public static final int TYPE_COMPONENT_LABEL                  = TYPE_COMPONENT + 1;
	/** 按钮组件 */
	public static final int TYPE_COMPONENT_BUTTON                 = TYPE_COMPONENT + 2;
	/** 输入框组件 */
	public static final int TYPE_COMPONENT_EXPAND_EDIT            = TYPE_COMPONENT + 3;
	/** 菜单组件 */
	public static final int TYPE_COMPONENT_MENU                   = TYPE_COMPONENT + 4;
	/** 图片组件 */
	public static final int TYPE_COMPONENT_PICTURE                = TYPE_COMPONENT + 5;
	/** 单选组件 */
	public static final int TYPE_COMPONENT_RADIOBOX               = TYPE_COMPONENT + 6;
	/** 下拉组件 */
	public static final int TYPE_COMPONENT_COMBOX                 = TYPE_COMPONENT + 7;
	/** 多选组件 */
	public static final int TYPE_COMPONENT_CHECKBOX               = TYPE_COMPONENT + 8;
	/** 标题栏组件 */
	public static final int TYPE_COMPONENT_TITLEBAR               = TYPE_COMPONENT + 9;
	/** 工具栏组件 */
	public static final int TYPE_COMPONENT_TOOLBAR                = TYPE_COMPONENT + 10;
	/** 文本框组件 */
	public static final int TYPE_COMPONENT_TATIC                  = TYPE_COMPONENT + 11;
	/** 滚动条组件 */
	public static final int TYPE_COMPONENT_SCROLLBAR              = TYPE_COMPONENT + 12;
	/** 跑马灯组件 */
	public static final int TYPE_COMPONENT_TICKER                 = TYPE_COMPONENT + 13;
	/** 进度条组件 */
	public static final int TYPE_COMPONENT_PROGRESSBAR            = TYPE_COMPONENT + 14;
	/** 表格组件 */
	public static final int TYPE_COMPONENT_TABLE                  = TYPE_COMPONENT + 15;
	/** Frame导航条组件 */
	public static final int TYPE_COMPONENT_FRAME_NAVIGATIONBAR    = TYPE_COMPONENT + 16;
	/** 饼状统计图组件 */
	public static final int TYPE_COMPONENT_PIECHART               = TYPE_COMPONENT + 17;
	/** 表格统计图组件 */
	public static final int TYPE_COMPONENT_TABLECHART             = TYPE_COMPONENT + 18;
	/** 容器队列组件 */
	public static final int TYPE_COMPONENT_CONTAINERQUEUE         = TYPE_COMPONENT + 19;
	/** 导航条中pageIndicate组件 */
	public static final int TYPE_COMPONENT_PAGE_INDICATE          = TYPE_COMPONENT + 20;
	/** web控件 */
	public static final int TYPE_COMPONENT_WEBVIEW                = TYPE_COMPONENT + 21;
	/** 输入框组件 */
	public static final int TYPE_COMPONENT_INPUT                  = TYPE_COMPONENT + 22;
	/** 结束位置 */
	public static final int TYPE_COMPONENT_END                    = TYPE_COMPONENT + 23;
	
	// ---------------------组件模型类型定义----------------------------------
	public static final int TYPE_COMPONENTMODEL                    = 1000;
	// ---------------------容器----------------------------------
	public static final int TYPE_CONTAINER_BASE                    = 1500;
	// ---------------------控制器类型定义----------------------------------
	public static final int TYPE_CONTROLLER                        = 2000;
	// ---------------------控制器模型类型定义----------------------------------
	public static final int TYPE_MODE                              = 3000;
	// ---------------------配置节点类型定义----------------------------------
	public static final int TYPE_NODE_BASE                         = 4000;
	// ---------------------样式类型定义----------------------------------
	public static final int TYPE_STYLE                             = 6000;
	// ---------------------操作规则类型定义----------------------------------
	public static final int TYPE_RULE_OBJECT                       = 6000;
	
	
	// ------------操作行为类型定义-------------------------------------
	public static final int TYPE_ACTION                                      = 7500;
	public static final int TYPE_ACTION_GOTO_FRAME                           = TYPE_ACTION + 1;        // 请求进入Frame
	public static final int TYPE_ACTION_GOTO_ACTIVITY                        = TYPE_ACTION + 2;        // 请求进入Activity
	public static final int TYPE_ACTION_REFRESH_PAGE                         = TYPE_ACTION + 3;        // 请求刷新页面
	public static final int TYPE_ACTION_BACK                                 = TYPE_ACTION + 4;        // 返回操作
	public static final int TYPE_ACTION_BACKTO                               = TYPE_ACTION + 5;        // 返回指定Frame
	public static final int TYPE_ACTION_CANCEL                               = TYPE_ACTION + 6;        // 
	public static final int TYPE_ACTION_CTRL_REQUEST                         = TYPE_ACTION + 7;        // 
	public static final int TYPE_ACTION_SHOW_DIALOG                          = TYPE_ACTION + 8;        // 
	public static final int TYPE_ACTION_EXIT_APP                             = TYPE_ACTION + 9;        // 退出应用

	// ~方法区块
	// ========================================================
	/**
	 * 返回类的类型字段
	 * @return
	 */
	public int getClassType();
}
